<tagLib name="cx,html" />
<div id="archives" class="widget widget_archives">
<h2 class="sidebartitle">归档</h2>
<select id="archiveSelect" onchange="window.location='__ROOT__/index.php?s=/Archive/'+this.options[this.selectedIndex].value">
<volist name="archives" id="archive">
	<if condition='$_GET["filter"]=="archive" and $archive["AddYearMonth"]==$_GET["v"]'>
		<option value="{$archive.AddYearMonth}" selected>{$archive.AddYearMonth|str_replace="-","年",###}月</option>
	<else />
		<option value="{$archive.AddYearMonth}">{$archive.AddYearMonth|str_replace="-","年",###}月</option>
	</if>
</volist>
</select>
</div>